package com.gitee.cirnochat.chat.model.vo.req;


import com.gitee.cirnochat.chat.model.dto.ChatMessage;
import com.gitee.cirnochat.chat.model.enums.ChatSessionType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * WebSocket聊天消息DTO
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Schema(description = "聊天消息发送DTO")
public class ChatMessageSendRequest extends ChatMessage {
    /**
     * 会话类型
     */
    @Schema(description = "会话类型 0单聊 1群聊")
    private ChatSessionType sessionType;
}
